package metier;

import enumeration.EnumCategorieEmploye;


public class Employe extends Utilisateur
{
	
	private String codeMatricule;
	private EnumCategorieEmploye categorieEmploye;
	
	
	public Employe(String nom, String prenom, Integer idUtilisateur, String pwd, String codeMatricule, EnumCategorieEmploye categorieEmploye)
	{
		super(nom, prenom, idUtilisateur, pwd);
		setCodeMatricule(codeMatricule);
		setCategorieEmploye(categorieEmploye);
	}
	
	
	public String getCodeMatricule()
	{return codeMatricule;}
	public void setCodeMatricule(String codeMatricule)
	{this.codeMatricule = codeMatricule;}
	public EnumCategorieEmploye getCategorieEmploye()
	{return categorieEmploye;}
	public void setCategorieEmploye(EnumCategorieEmploye categorieEmploye) {this.categorieEmploye = categorieEmploye;}
	

	@Override
	public String toString() 
	{
		return super.toString() + "Employe [codeMatricule=" + codeMatricule + ", categorieEmploye=" + categorieEmploye + "]";
	}
}
